setAudioFadeIn

abstract fun setAudioFadeIn(block: DesignBlock, duration: Double, easing: AnimationEasingType = AnimationEasingType.LINEAR)

Set an audio fade-in for the given block. The audio ramps up from silence to the block's volume over the given duration at the start of the block.

Parameters

block

the audio block or video fill to update.

duration

the fade-in duration in seconds. Negative values are clamped to 0, which disables the fade-in.

easing

the easing curve of the fade.